.class public Les/h20;
.super Lcom/estrongs/fs/impl/media/d;
.source "ArchiveFileSystem3.java"


# static fields
.field private static c:Les/h20;


# direct methods
.method private constructor <init>()V
    .locals 0

    .line 1
    invoke-direct {p0}, Lcom/estrongs/fs/impl/media/d;-><init>()V

    return-void
.end method

.method public static b()Les/h20;
    .locals 1

    .line 1
    sget-object v0, Les/h20;->c:Les/h20;

    if-nez v0, :cond_0

    .line 2
    new-instance v0, Les/h20;

    invoke-direct {v0}, Les/h20;-><init>()V

    sput-object v0, Les/h20;->c:Les/h20;

    .line 3
    :cond_0
    sget-object v0, Les/h20;->c:Les/h20;

    return-object v0
.end method


# virtual methods
.method protected a(Lcom/estrongs/fs/impl/local/d;)Lcom/estrongs/fs/g;
    .locals 1

    .line 8
    new-instance v0, Les/n20;

    invoke-direct {v0, p1}, Les/n20;-><init>(Lcom/estrongs/fs/g;)V

    return-object v0
.end method

.method protected a()Ljava/lang/String;
    .locals 5

    .line 1
    invoke-static {}, Lcom/estrongs/android/util/n0;->d()Ljava/lang/String;

    move-result-object v0

    if-nez v0, :cond_0

    const/4 v0, 0x0

    return-object v0

    :cond_0
    const-string v1, ";"

    .line 2
    invoke-virtual {v0, v1}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object v0

    .line 3
    new-instance v1, Ljava/lang/StringBuffer;

    invoke-direct {v1}, Ljava/lang/StringBuffer;-><init>()V

    const/4 v2, 0x0

    .line 4
    :goto_0
    array-length v3, v0

    if-ge v2, v3, :cond_2

    if-lez v2, :cond_1

    const-string v3, " or "

    .line 5
    invoke-virtual {v1, v3}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

    :cond_1
    const-string v3, "_data"

    .line 6
    invoke-virtual {v1, v3}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

    const-string v3, " like "

    invoke-virtual {v1, v3}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    const-string v4, "%"

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    aget-object v4, v0, v2

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-static {v3}, Landroid/database/DatabaseUtils;->sqlEscapeString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v3}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

    add-int/lit8 v2, v2, 0x1

    goto :goto_0

    .line 7
    :cond_2
    invoke-virtual {v1}, Ljava/lang/StringBuffer;->toString()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method
